package org.springblade.modules.admin.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

import java.util.List;

/**
    * 项目电梯关联模板
    */
@Data
public class BuildingElevatorTemplateVO {

	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;

    /**
     * 小区id
     */
    @TableField(value = "building_id")
	@JsonSerialize(using = ToStringSerializer.class)
    private Long buildingId;

    /**
     * 模板名称 栋/单元/梯
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 模板级数
     */
    @TableField(value = "`level`")
    private Integer level;

	private Integer eleTotal;

	private Integer floorTotal;

	private List<BuildingElevatorTemplateVO> templates;

}
